package org.spring.service;

import org.spring.domain.Teacher;

import java.util.List;

public interface TeacherService {

    void saveTeacher(Teacher teacher);

    void deleteTeacher(Integer id);

    void updateTeacher(Teacher teacher);

    List<Teacher> findAll();

    Teacher findOne(Integer id);
}
